package com.java.cloud.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;


/**
 * 经营范围基础信息表
 * 
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-11-06 15:01:34
 */
@ApiModel(value = "经营范围基础信息表")
@Table(name = "sys_sale_range")
@Data
@Accessors(chain = true)
public class SysSaleRange implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * ID
	 */
	@Id
	@ApiModelProperty(value = "ID")
    private String id;
	
	/**
	 * 经营范围名称
	 */
    @Column(name = "name")
	@ApiModelProperty(value = "经营范围名称")
    private String name;
	
	/**
	 * 父节点
	 */
    @Column(name = "pid")
	@ApiModelProperty(value = "父节点")
    private String pid;
	
	/**
	 * 排序
	 */
    @Column(name = "seq")
	@ApiModelProperty(value = "排序")
    private BigDecimal seq;
	
	/**
	 * 创建时间
	 */
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间")
    private Date crtTime;
	
	/**
	 * 创建人ID
	 */
    @Column(name = "crt_user")
	@ApiModelProperty(value = "创建人ID")
    private String crtUser;
	
	/**
	 * 创建人姓名
	 */
    @Column(name = "crt_name")
	@ApiModelProperty(value = "创建人姓名")
    private String crtName;
	
	/**
	 * 创建人IP
	 */
    @Column(name = "crt_host")
	@ApiModelProperty(value = "创建人IP")
    private String crtHost;
	
	/**
	 * 修改时间
	 */
    @Column(name = "upd_time")
	@ApiModelProperty(value = "修改时间")
    private Date updTime;
	
	/**
	 * 修改人ID
	 */
    @Column(name = "upd_user")
	@ApiModelProperty(value = "修改人ID")
    private String updUser;
	
	/**
	 * 修改人姓名
	 */
    @Column(name = "upd_name")
	@ApiModelProperty(value = "修改人姓名")
    private String updName;
	
	/**
	 * 修改人IP
	 */
    @Column(name = "upd_host")
	@ApiModelProperty(value = "修改人IP")
    private String updHost;
	
	/**
	 * 删除标识，0=否，1=是
	 */
    @Column(name = "del_flag")
	@ApiModelProperty(value = "删除标识，0=否，1=是")
    private Integer delFlag;
	
}
